﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.Data;
using System.Drawing;
using System.Diagnostics;
using System.Windows.Forms;

namespace Janus.NorthwindDemo2007
{
	public class ContactsFolder : ApplicationFolder
	{

		private const string cFolderName = "Contacts";
        private const string cFolderDescription = "Liên hệ";
		public ContactsFolder()
		{
			this.mSupportedFeatures = FolderFeatures.None;
            this.mFolderDescription = cFolderDescription;
			this.FolderName = cFolderName;
			this.ImageKey = "ContactsFolder";
			this.AddChildFolder(new CustomersFolder());
			this.AddChildFolder(new SuppliersFolder());
			this.AddChildFolder(new EmployeesFolder());
		}
		protected override Type GetTypeOfView(ContentViewType viewType)
		{
			switch (viewType)
			{
				case ContentViewType.DashBoard:
					return typeof(ContactDashboardView);
				default:
					return base.GetTypeOfView(viewType);
			}
		}
	}

} //end of root namespace